package com.jn.prototype.improve;


/**
 * @author 江南大学1033190417
 * @date 2022/4/11 17:20
 */
public class client {
    public static void main(String[] args) {
        Sheep sheep = new Sheep("tom", 1, "白色");
        Sheep sheep2 =(Sheep) sheep.clone();sheep2.setAge(3);
        System.out.println(sheep);
        System.out.println(sheep2);

    }
}
